package com.lanswon.icc.admin.po;

import java.io.Serializable;
import java.util.Date;

public class SysUser implements Serializable {
    private Integer userId;

    private String username;

    private String password;

    private String gender;

    private String idCardNo;

    private String mobileLongNo;

    private String mobileShortNo;

    private String policeNo;

    private String userStatus;

    private String position;

    private String userNick;

    private Integer deptId;

    private Date lastLoginTime;

    private String enabled;

    private static final long serialVersionUID = 1L;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo == null ? null : idCardNo.trim();
    }

    public String getMobileLongNo() {
        return mobileLongNo;
    }

    public void setMobileLongNo(String mobileLongNo) {
        this.mobileLongNo = mobileLongNo == null ? null : mobileLongNo.trim();
    }

    public String getMobileShortNo() {
        return mobileShortNo;
    }

    public void setMobileShortNo(String mobileShortNo) {
        this.mobileShortNo = mobileShortNo == null ? null : mobileShortNo.trim();
    }

    public String getPoliceNo() {
        return policeNo;
    }

    public void setPoliceNo(String policeNo) {
        this.policeNo = policeNo == null ? null : policeNo.trim();
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus == null ? null : userStatus.trim();
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick == null ? null : userNick.trim();
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled == null ? null : enabled.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userId=").append(userId);
        sb.append(", username=").append(username);
        sb.append(", password=").append(password);
        sb.append(", gender=").append(gender);
        sb.append(", idCardNo=").append(idCardNo);
        sb.append(", mobileLongNo=").append(mobileLongNo);
        sb.append(", mobileShortNo=").append(mobileShortNo);
        sb.append(", policeNo=").append(policeNo);
        sb.append(", userStatus=").append(userStatus);
        sb.append(", position=").append(position);
        sb.append(", userNick=").append(userNick);
        sb.append(", deptId=").append(deptId);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", enabled=").append(enabled);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}